﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GalaSoft.MvvmLight.Command;
using MSSQL.DBSync.UI.Common.AsyncCmds;

namespace MSSQL.DBSync.UI.Components.MainWindow
{
    public interface IMainWindowVM
    { 
        /// <summary>
        /// 标题
        /// </summary>
        string Title { get; set; }

        //RelayCommand<String> ShowDetail { get; }

        /// <summary>
        /// 菜单
        /// </summary>
        ObservableCollection<SideMenuVO> Menus { get; }

        /// <summary>
        /// 当前菜单
        /// </summary>
        SideMenuVO CurMenuItem { get; set; }

        ///// <summary>
        ///// 视图
        ///// </summary>
        //IMainWindow View { get; set; }

        /// <summary>
        /// 设置首页内容
        /// </summary>
        AsyncCommand SetFirstContent { get; set; }
    }
}
